package com.lyl.serviceorder.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lyl.serviceorder.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-25
 */
public interface OrderService extends IService<Order> {

    String saveOrder(Long courseId, Long memberId);

    double sumPriceByDate(String date);

    void pageQuery(Page<Order> pageParam, Order courseQuery);

    List<Order> selectList(QueryWrapper<Order> wrapper);

    String saveOrderResume(Long resumeModelId, long memberId);
}
